<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>文件上传</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="CSS/Accessible_Design.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
	<!--
	.STYLE1 {
	font-size: large;
	font-weight: bold;
	color: #000099;
	}
	-->
</style>
  </head>
  
  <body>
   <html:form action="FilesUpLoad.do" enctype="multipart/form-data">
    <table height="166" border="1" cellspacing="0" class="small">
  <tr>
    <td colspan="2"><div align="center"><span class="STYLE1">文件上传</span></div></td>
  </tr>
  <tr>
    <td >文件名</td>
   
    <td width="278"> 
    <html:text property="fileName"></html:text></td>
  </tr>
  
  <tr>
    <td>内容简介</td>
    <td>
    <html:textarea property="filecontent" rows="5" cols="40"></html:textarea>
    </td>
  </tr>
  <tr>
    <td>文件路径</td>
    <td>
		<html:file property="theFile"  ></html:file>    
      	<input type="submit" name="Submit2" value="提交" />
      
      <html:cancel value="取消"/>
      </td>
  </tr>
</table>
    </html:form>
    
  </body>
</html>
